﻿///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version May  4 2010)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifndef __fbpLuaDebugger_gui__
#define __fbpLuaDebugger_gui__

#include <wx/intl.h>

namespace LuaDebug{ class SourceView; }

#include <wx/string.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/menu.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/statusbr.h>
#include <wx/aui/auibook.h>
#include <wx/sizer.h>
#include <wx/panel.h>
#include <wx/splitter.h>
#include <wx/frame.h>

#include "dll_export.h"

///////////////////////////////////////////////////////////////////////////

namespace LuaDebug
{
	///////////////////////////////////////////////////////////////////////////////
	/// Class MainFrameBase
	///////////////////////////////////////////////////////////////////////////////
	class _LUADBG_API MainFrameBase : public wxFrame 
	{
		private:
		
		protected:
			enum
			{
				ID_MENU_SHOW_LOCALWATCH = 1000,
				ID_MENU_SHOW_GLOBALWATCH,
				ID_MENU_SHOW_REGISTRYWATCH,
				ID_MENU_SHOW_ENVIRONWATCH,
				ID_MENU_SHOW_STACKWATCH,
				ID_MENU_SHOW_WATCH,
				ID_MENU_SHOW_BACKTRACEVIEW,
				ID_MENU_SHOW_INTERACTIVEVIEW,
				ID_MENU_SHOW_OUTPUTVIEW,
				ID_MENU_BREAK,
				ID_MENU_RESTART,
				ID_MENU_STEPOVER,
				ID_MENU_STEPINTO,
				ID_MENU_STEPRETURN,
				ID_MENU_TOGGLE_BREAKPOINT,
			};
			
			wxMenuBar* m_menubar1;
			wxMenu* m_menu1;
			wxMenu* m_menu2;
			wxMenu* m_menu3;
			wxStatusBar* m_statusBar1;
			wxSplitterWindow* m_splitter1;
			wxPanel* m_panel5;
			LuaDebug::SourceView* m_sourceView;
			wxPanel* m_panel6;
			wxAuiNotebook* m_wathView;
			
			// Virtual event handlers, overide them in your derived class
			virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
			virtual void OnMenu( wxCommandEvent& event ) { event.Skip(); }
			
		
		public:
			
			MainFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("LuaVM Remote Debugger"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 640,480 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
			~MainFrameBase();
			
			void m_splitter1OnIdle( wxIdleEvent& )
			{
				m_splitter1->SetSashPosition( -120 );
				m_splitter1->Disconnect( wxEVT_IDLE, wxIdleEventHandler( MainFrameBase::m_splitter1OnIdle ), NULL, this );
			}
		
	};
	
} // namespace LuaDebug

#endif //__fbpLuaDebugger_gui__
